package com.sixth.controller;

import com.sixth.core.vo.R;
import com.sixth.service.CheckItemService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 李劲锋
 * @create: 2024-08-21 19:01
 **/
@RestController
@RequestMapping("/check")
@Api(tags = "检查项目")
public class CheckItemController {
    @Autowired
    private CheckItemService checkItemService;

    @GetMapping("/CheckItemList")
    @ApiOperation(value = "查询所有检查项目")
    public R selectAllItem(){
        return checkItemService.selectAllItem();
    }
}
